<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户修改</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="renderer" content="webkit">
    <link href="${pageContext.request.contextPath}/static/css/common.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/plugins/bootstrap-3.3.5/css/bootstrap.min.css"
          rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/plugins/font-awesome-4.3.0/css/font-awesome.min.css"
          rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/plugins/select2-4.0.0/dist/css/select2.min.css"
          rel="stylesheet"/>

    <script src="${pageContext.request.contextPath}/static/js/jquery-1.11.3.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/plugins/bootstrap-3.3.5/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/plugins/select2-4.0.0/dist/js/select2.min.js"></script>

</head>
<body>
<div class="col-sm-12">
    <form class="form-horizontal m-t" id="form" method="post"
          action="${pageContext.request.contextPath}/admin/tusers_update.action">
        <input type="hidden" name="sid" value="${tUser.sid}">
        <div class="form-group">
            <label class="col-sm-3  control-label"><i class="require">*</i>所属公司:</label>
            <div class="col-sm-8">
                <input class="form-control" name="agtCode" size="30" value="${tUser.agtCode}"/>
            </div>
         </div>
         <div class="form-group">
            <label class="col-sm-3  control-label"><i class="require">*</i>所属社区:</label>
            <div class="col-sm-8">
                <input class="form-control" name="communityId" size="30" value="${tUser.communityId}"/>
            </div>
        </div>
	    <div class="form-group">
	        <label class="col-sm-3 control-label"><i class="require">*</i>APP:</label>
	        <div class="col-sm-8">
	            <input class="form-control" name="appId" size="30" value="${tUser.appId}"/>
	
	        </div>
	    </div>
       <div class="form-group">
            <label class="col-sm-3  control-label"><i class="require">*</i>手机号:</label>
            <div class="col-sm-8">
                <input class="form-control" name="tel" size="30" value="${tUser.tel}"/>
            </div>
        </div>
        
        <div class="form-group">
            <label class="col-sm-3  control-label"><i class="require">*</i>登录密码:</label>
            <div class="col-sm-8">
                <div class="input-group">
                    <input class="form-control" type="password" readonly size="30" value="******"/>
                    <a class="input-group-addon" href="javascript:void(0);">修改</a>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3  control-label">用户姓名:</label>
            <div class="col-sm-8">
                <input class="form-control" name="auName" size="30" value="${tUser.auName}"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3  control-label">身份证号:</label>
            <div class="col-sm-8">
                <input class="form-control" name="auNo" size="30" value="${tUser.auNo}"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3  control-label">车牌号:</label>
            <div class="col-sm-8">
                <input class="form-control" name="auCno" size="30" value="${tUser.auCno}"/>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">
$(function () {
    $(".input-group-addon").click(function () {
        var $input = $(this).prev();
        $input.removeAttr("readonly");
        $input.attr("name", "passwd");
        $input.val("");
    });
})
</script>
</body>
</html>
